package com.zqh.app.manager.impl;

import com.zqh.app.dao.NoticeMapper;
import com.zqh.app.entity.Notice;
import com.zqh.app.manager.AppNoticeManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("AppNoticeManager")
public class AppNoticeManagerImpl implements AppNoticeManager {


    @Autowired
    NoticeMapper noticeMapper;
    @Override
    public List<Notice> getNotices() {
        return noticeMapper.listNotice();
    }
}
